package com.start.platform.core.event;

import com.start.platform.core.entity.StartPlatformUserEntity;
import com.start.platform.core.vo.StartPlatformFansDetail;

public interface StartPlatformUserEvent {
    /**
     * 用户注册前
     *
     * @param user
     */
    default void userRegisterBefore(StartPlatformFansDetail user) {
    }

    /**
     * 用户注册后
     *
     * @param user
     */
    default void userRegisterAfter(StartPlatformFansDetail user) {
    }

    /**
     * 用户登录成功
     *
     * @param user
     */
    default void userLoginAfter(StartPlatformUserEntity user) {
    }
}
